﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DJY.Domain.Entity.WorkFlow
{
    /// <summary>
    /// 流程实例处理过程 实体
    /// </summary>
    public class WFInstanceNodeEntity
    {
        /// <summary>
        /// 记录id
        /// </summary>
        [Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    	public long Id
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 实例ID
        /// </summary>
		[StringLength(36)]
    	public string InstanceId
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 上一个节点
        /// </summary>
    	public long? FromNode
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 当前工作节点
        /// </summary>
		[StringLength(36)]
    	public string NodeId
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 操作人
        /// </summary>
		[StringLength(36)]
    	public string F_CreateUser
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 操作时间
        /// </summary>
    	public DateTime F_CreateTime
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 备注
        /// </summary>
		[StringLength(200)]
    	public string Remark
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 当前节点ID
        /// </summary>
    	public int NodeType
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 上一个节点名称
        /// </summary>
		[StringLength(100)]
    	public string FromNodeName
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 当前节点名称
        /// </summary>
		[StringLength(100)]
    	public string NodeName
    	{
    		get;
    		set;
    	}
        
    }
}
